package vo;

public class TruthVO {
	private ReviewVO review;
	private MemberVO member;
	private int truth_vote;

	public TruthVO() {}

	/**
	 * didVoteTruth
	 * @param review
	 * @param member
	 */
	public TruthVO(ReviewVO review, MemberVO member) {
		this.review = review;
		this.member = member;
	}

	/**
	 * voteTruth
	 * @param review
	 * @param member
	 * @param truth_vote
	 */
	public TruthVO(ReviewVO review, MemberVO member, int truth_vote) {
		this.review = review;
		this.member = member;
		this.truth_vote = truth_vote;
	}

	public ReviewVO getReview() {
		return review;
	}

	public void setReview(ReviewVO review) {
		this.review = review;
	}

	public MemberVO getMember() {
		return member;
	}

	public void setMember(MemberVO member) {
		this.member = member;
	}

	public int getTruth_vote() {
		return truth_vote;
	}

	public void setTruth_vote(int truth_vote) {
		this.truth_vote = truth_vote;
	}

	@Override
	public String toString() {
		return "TruthVO [review=" + review + ", member=" + member
				+ ", truth_vote=" + truth_vote + "]";
	}
}
